//
//  PushManager.h
//  YJAPPThird
//
//  Created by 张吉旭 on 16/12/21.
//  Copyright © 2016年 yj. All rights reserved.
//

#import <Foundation/Foundation.h>
// 引入JPush功能所需头文件
#import "JPUSHService.h"
// iOS10注册APNs所需头文件
#ifdef NSFoundationVersionNumber_iOS_9_x_Max
#import <UserNotifications/UserNotifications.h>
#endif


@interface PushManager : NSObject<JPUSHRegisterDelegate>

@property (nonatomic, copy) NSString *JPushId;

+(PushManager*)shareInstance;

//JPUSH默认启动设置
-(void)setUpJPush:(NSDictionary*)launchOptions;


//(AppDelegate 回调中使用)
-(void)handleRemoteNotification:(NSDictionary *)remoteInfo;

//((AppDelegate 回调中使用)
-(void)registerDeviceToken:(NSData *)deviceToken;


@end
